package net.csdn.business.common.feign.mirror;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.csdn.business.common.constant.ServiceNameConstants;
import net.csdn.business.common.domain.query.mirror.ThirdPartInfoMirrorPageQuery;
import net.csdn.business.common.domain.vo.mirror.*;
import net.csdn.business.common.feign.mirror.config.MirrorFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = ServiceNameConstants.ATOMGIT_MIRROR_SERVICE, contextId = ServiceNameConstants.ATOMGIT_THIRD_PART_INFO_MIRROR_PROJECT_CONTEXT_ID,configuration = MirrorFeignConfiguration.class)
public interface ThirdPartInfoMirrorFeignClient {

    /**
     * @Description: 管理员分页查询镜像仓库列表
     * @Param:
     * @return:
     * @Author: zhangyl
     * @Date: 2024/7/23
     */
    @PostMapping("/api/admin/third/party/mirror/list")
    public Page<ThirdPartInfoListVO> list(@RequestBody ThirdPartInfoMirrorPageQuery query);

}